def foobar(): Unit =
  ???
  ???
  ???
  ???

object Foo:
  def foo =
    ???
    ???

def endmarker(): Unit =
  ???
  ???
  ???
  ???
end endmarker

def fooNested(): Unit =
  def bar(): Unit =
    ???
    ???
    ???
    ???
  end bar
  ???
end fooNested

object foo:
  println("")
  println("")
  println("")
  println("")
  println("")

def fooNested(): Unit =
  def bar(): Unit =
    ???
    ???
    ???
    ???
  ???

def fooWithMatch(): Unit =
  def bar(): Unit =
    ??? match
      case 1 =>
        ???
        ???
        ???
      case 2 =>
        ??? match
          case 3 => ???
          case 4 => ???
          case 5 => ???
          case 6 => ???
        ???
        ???
        ???
  ???
  ???
  ???
  ???
  ???
  ???
  ???

def noFoldHere(): Unit = ???

def noFoldInside(): Unit =
  ??? match
    case ??? => ???

  for ??? <- ???
  yield ???

class Bar:
  def foo() =
    ???
    ???
    ???

  def bar() =
    ???
    ???
    ???

trait Bar2:
  def foo(): Unit

  def bar(): Unit
